package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.business.BusinessPageDTO;
import com.qk.dto.business.BusinessPoolPageDTO;
import com.qk.dto.business.BusinessUpdateDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessDataVO;
import com.qk.vo.business.BusinessPageVO;
import com.qk.vo.business.BusinessPoolPageVO;

/**
 *
 * @author MrZhao
 * @created 2025-10-15 10:53
 * @description
 *  商机业务Service
 *
 */
public interface BusinessService extends IService<Business> {
    PageResult<BusinessPageVO> businessPageList(BusinessPageDTO dto);

    void saveBusiness(Business business);

    void toCustomer(Integer id);

    void backToPool(Integer id);

    BusinessDataVO getBusinessById(Integer id);

    void updateBusiness(BusinessUpdateDTO dto);

    PageResult<BusinessPoolPageVO> getBusinessPoolPageList(BusinessPoolPageDTO dto);
}